package com.topvision.service.hes;

import com.topvision.model.hes.HesUser;
import com.topvision.vo.hes.HesCallVO;
import com.topvision.vo.hes.HesUserVO;

import java.util.List;
import java.util.Map;

/**
 * 系统用户
 * 
 * @author shengwm
 * @email 179653076@qq.com
 * @date 2017-08-28 11:23:20
 */
public interface HesUserService {
	
	HesUser queryObject(Long userId);
	
	List<HesUserVO> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(HesUser hesUser);
	
	void update(HesUser hesUser);
	
	void delete(Long userId);
	
	void deleteBatch(Long[] userIds);

    void batchInsert(List<Map<String, Object>> mapListJson);

    void truncateTable();

    List<HesUserVO> findByUserName(Map<String, Object> map);

    List<HesCallVO> callUsers(Map<String,Object> map);
}
